package com.lhy.vaccine_admin.service;

import com.lhy.vaccine_admin.entity.SAdmin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lhy.vaccine_admin.form.LoginForm;
import com.lhy.vaccine_admin.vo.R;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lhy
 * @since 2023-02-22
 */
public interface ISAdminService extends IService<SAdmin> {

    R login(LoginForm loginForm);

    R getSearchByKey(String newValue);

    R insertNewAdmin(SAdmin sAdmin);

    R deleteNewAdmin(SAdmin sAdmin);

    R getAdminList(Integer currentPage, Integer pageSize);
}
